package com.yikes.srb.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import com.yikes.srb.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户绑定表
 * </p>
 *
 * @author guanrong.yin
 * @since 2024-12-03
 */
@Getter
@Setter
@TableName("user_bind")
@Schema(name = "UserBind对象", description = "用户绑定表")
public class UserBind extends BaseEntity implements Serializable {

    @Schema(description = "编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "用户id")
    @TableField("user_id")
    private Long userId;

    @Schema(description = "用户姓名")
    @TableField("name")
    private String name;

    @Schema(description = "身份证号")
    @TableField("id_card")
    private String idCard;

    @Schema(description = "银行卡号")
    @TableField("bank_no")
    private String bankNo;

    @Schema(description = "银行类型")
    @TableField("bank_type")
    private String bankType;

    @Schema(description = "手机号")
    @TableField("mobile")
    private String mobile;

    @Schema(description = "绑定账户协议号")
    @TableField("bind_code")
    private String bindCode;

    @Schema(description = "状态")
    @TableField("status")
    private Integer status;

}
